export default (store) => {
  store.subscribe((mutation, state) => {
    console.group(
      "提交类型:%c" +
        mutation.type +
        "%c        提交时间:%c" +
        new Date().toLocaleTimeString(),
      "color:red",
      "color:black",
      "color:skyblue"
    );
    console.log("提交载荷", mutation.payload);
    console.log("当前的状态：", state);
    console.groupEnd();
  });
};
